home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- ECHO About to delete all lines from CATALOG.DIR
- ECHO that contain the string "%1". Press any key
- ECHO to do it, or press Ctrl-Break to abort.
- PAUSE > NUL
- FIND "%1" C:\CATALOG.DIR > C:\CATALOG.OUT
- TYPE C:\CATALOG.DIR | FIND /V "%1" > C:\CATALOG.TMP
- DEL C:\CATALOG.DIR
- REN C:\CATALOG.TMP CATALOG.DIR
- ECHO Deleted lines are stored in C:\CATALOG.OUT